﻿@model MobileSales.Model.Orders.OrderItem

@{
    View.Title = Strings.Orders + " - " + Strings.DeleteItem;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@Strings.Orders &nbsp;&raquo;&nbsp; @Strings.DeleteItem</h2>

<h3>@Strings.AreYouSureWhatToDeleteThis</h3>
<fieldset>
    <legend>@Strings.Fields</legend>

    <div class="display-label">@ModelStrings.Product</div>
    <div class="display-field">@Model.Product.Name</div>

    <div class="display-label">@ModelStrings.Quantity</div>
    <div class="display-field">@String.Format("{0:F}", Model.Quantity)</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        @Html.Hidden("orderId", Model.OrderId)

        <input type="submit" value="@Strings.Delete" /> |
        @Html.ActionLink(Strings.BackToList, "Details", new { id = Model.OrderId }, new { @class = "icon-button prev-icon" })
 </p>
}


